···2121 /// </summary>
2222 /// <para>Behavior is not defined if the search path is being modified while this build plan is
2323 /// assembling modules.</para>
2424- [NotNull, PublicAPI]
2424+ [PublicAPI]
2525 IList<string> SearchPaths { get; }
26262727 /// <summary>
···3333 /// instructions</param>
3434 /// <param name="token">The cancellation token for this asynchronous operation.</param>
3535 /// <returns>A task that represents the build plan assembly in progress.</returns>
3636- [NotNull, PublicAPI]
3636+ [PublicAPI]
3737 Task<ITargetDescription> AssembleAsync(ISource source, CancellationToken token = default);
38383939 /// <summary>
4040 /// The set of standard library modules to implicitly link against. Can be suppressed on a per-module basis via the <see cref="Module.NoStandardLibraryKey"/> tag.
4141 /// </summary>
4242- [NotNull, PublicAPI]
4242+ [PublicAPI]
4343 ISet<ModuleName> StandardLibrary { get; }
44444545 /// <summary>
···5050 /// <param name="source">The source text to read. Must be a module.</param>
5151 /// <param name="token"></param>
5252 /// <returns>A description of the supplied module. Its dependencies might not be satisfied at this point.</returns>
5353- [NotNull]
5453 Task<ITargetDescription> RegisterModule(ISource source, CancellationToken token = default);
5554}
···3232 /// <param name="logicalName">The logical name to derive a physical name from.</param>
3333 /// <returns>A physical name, related to the logical name provided.</returns>
3434 /// <exception cref="InvalidOperationException"><see cref="Prefix"/> has not been assigned yet.</exception>
3535- [NotNull]
3636- public string DerivePhysicalName([NotNull] string logicalName)
3535+ public string DerivePhysicalName(string logicalName)
3736 {
3837 if (logicalName == null)
3938 throw new ArgumentNullException(nameof(logicalName));
···5453 /// <remarks>
5554 /// <para>Use the <see cref="Namespace"/> interface to list all symbols included in this namespace, not just the ones defined in this module.</para>
5655 /// </remarks>
5757- [NotNull]
5856 public abstract IEnumerable<KeyValuePair<string, Symbol>> Exports { get; }
59576058 /// <summary>
···7169 /// Adds a set of declarations to the exports of this namespace. Will replace conflicting symbols instead of merging with them.
7270 /// </summary>
7371 /// <param name="exportScope">The set of symbols to export.</param>
7474- public abstract void DeclareExports([NotNull] IEnumerable<KeyValuePair<string, Symbol>> exportScope);
7272+ public abstract void DeclareExports(IEnumerable<KeyValuePair<string, Symbol>> exportScope);
75737674 #endregion
7775
+3-3
Prexonite/Compiler/Symbolic/NamespaceSymbol.cs
···1717 return "namespace";
1818 }
19192020- NamespaceSymbol([NotNull] ISourcePosition position, [NotNull] Namespace @namespace)
2020+ NamespaceSymbol(ISourcePosition position, Namespace @namespace)
2121 {
2222 Position = position;
2323 Namespace = @namespace;
···5353 return Namespace.GetHashCode();
5454 }
55555656- internal static NamespaceSymbol _Create([NotNull] Namespace @namespace, [NotNull] ISourcePosition position)
5656+ internal static NamespaceSymbol _Create(Namespace @namespace, ISourcePosition position)
5757 {
5858 return new(position, @namespace);
5959 }
···109109 /// <param name="messageSink"></param>
110110 /// <param name="errors">If non-null, collects instead of reports errors (other messages are reported directly); Otherwise errors are reported too.</param>
111111 /// <returns>The namespace symbol or null if the symbol is not actually a namespace symbol (has already been reported as an error). If an error collection list (<paramref name="errors"/>) has been supplied, can be non-null when errors are present)</returns>
112112- public static NamespaceSymbol? UnwrapNamespaceSymbol([NotNull] Symbol symbol, [NotNull] ISourcePosition symbolPosition,
112112+ public static NamespaceSymbol? UnwrapNamespaceSymbol(Symbol symbol, ISourcePosition symbolPosition,
113113 IMessageSink? messageSink, IList<Message>? errors = null)
114114 {
115115 if (symbol == null)
-2
Prexonite/Compiler/Symbolic/SymbolStore.cs
···7777 /// <param name="conflictUnionSource">A sequence of symbols, possibly from multiple stores, that the newly created store should provide a unified view of.</param>
7878 /// <returns>A new symbol store.</returns>
7979 [PublicAPI]
8080- [JetBrains.Annotations.NotNull]
8180 public static SymbolStore Create(ISymbolView<Symbol>? parent = null, IEnumerable<SymbolInfo>? conflictUnionSource = null)
8281 {
8382 return new ConflictUnionFallbackStore(parent,conflictUnionSource);
···116115 /// <summary>
117116 /// Provides access to all local declarations of a symbol store (symbols that were declared via <see cref="Declare"/>).
118117 /// </summary>
119119- [JetBrains.Annotations.NotNull]
120118 public abstract IEnumerable<KeyValuePair<string, Symbol>> LocalDeclarations { get; }
121119122120 //TODO (Ticket #108) Find a good place for the method CreateSymbolNotFoundError