s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Classes
Compiler
HasReference
chevron_left Classes
class
Compiler

Properties

data_objectAssemblyNamedata_objectBuildResultdata_objectBuildSuccessdata_objectDiagnosticsdata_objectFileSystemdata_objectGeneratedCodedata_objectGroupdata_objectIsBuildingdata_objectNamedata_objectNeedsBuilddata_objectOutputdata_objectUseAbsoluteSourcePaths

Methods

functionsAddReferencefunctionsAddSourcePathfunctionsDependencyIndexfunctionsDisposefunctionsGetConfigurationfunctionsHasReferencefunctionsMarkForRecompilefunctionsNotifyFastHotloadfunctionsSetConfigurationfunctionsUpdateFromArchivefunctionsUseCompiledArchivefunctionsWatchForChanges

Static Methods

functionsAddEditorReferencefunctionsAddToolBaseReferencefunctionsStripDisabledTextTrivia
HasReference
Returns true if Sandbox.Compiler._references contains the given reference assembly name. If <paramref name="deep" /> is true, referenced compilers are searched too.
method
bool HasReference (string referenceName, bool deep)

Parameters

NameTypeDescription
referenceName string
deep = False bool

Returns

TypeDescription
bool
Declared in Sandbox.Compiler ยท Assembly Sandbox.Compiling
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter