Unity creates its own assembly definitions for the entire project
(Two, actually, one runtime and one editor: Editor can reference runtime, but not vice versa; this dependency is set automatically and you don't have to do anything (but creating your own namespaces is a good idea!1))
Scripts created in the assets folder under these rules shows up in the solution under Assembly-CSharp (the project) /Assets/<where ever you created your script file>
For example:

However, you can also create your own Assembly Definitions, which will include everything in the same folder and below automatically. For example I am using Stompy Robot's runtime debugger console, but I don't want to make Unity recompile that every time I make a change to my code, so I created an assembly def for it (three, actually, because of the two Editor magic folders).


If you do so, you have to tell the assembly def that you want to reference another assembly, as I had to do with the two Editor assembly defs. However, you can't add a reference to the main Unity assembly.
For example, one of the two Editor assemblies for SR's Debugger.

I hope that helps unravel the mysteries somewhat.
- It is possible that you're trying to figure out how to
import your non-editor files inside your editor files. If you don't have a namespace they exist at the top "global" level and should automatically be visible. Unity does nothing special here, but it is recommended that you create your own namespaces for both runtime and editor.