Package microsoft.build.tasks
Class Csc
- java.lang.Object
-
- All Implemented Interfaces:
IJCOBridgeReflected
public class Csc extends ManagedCompiler
The base .NET class managing Microsoft.Build.Tasks.Csc, Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a..NET documentation at https://docs.microsoft.com/en-us/dotnet/api/Microsoft.Build.Tasks.Csc
Powered by JCOBridge: more info at https://www.jcobridge.com
- Author:
- MASES s.r.l https://masesgroup.com
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3astatic java.lang.String
assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0static java.lang.String
className
Qualified class name: Microsoft.Build.Tasks.Cscstatic org.mases.jcobridge.JCType
classType
The type managed from JCOBridge.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Csc
cast(IJCOBridgeReflected from)
Try to cast theIJCOBridgeReflected
instance intoCsc
, a cast assert is made to check if types are compatible.boolean
getAllowUnsafeBlocks()
java.lang.String
getApplicationConfiguration()
java.lang.String
getBaseAddress()
boolean
getCheckForOverflowUnderflow()
java.lang.String
getDisabledWarnings()
java.lang.String
getDocumentationFile()
boolean
getErrorEndLocation()
java.lang.String
getErrorReport()
boolean
getGenerateFullPaths()
java.lang.String
getJCOAssemblyName()
Returns the reflected Assembly namejava.lang.String
getJCOClassName()
Returns the reflected Class namejava.lang.Object
getJCOInstance()
Returns the instantiated classjava.lang.String
getJCOObjectName()
Returns the reflected Class name used to build the objectorg.mases.jcobridge.JCType
getJCOType()
Returns the instantiated class Typejava.lang.String
getLangVersion()
java.lang.String
getModuleAssemblyName()
boolean
getNoStandardLib()
java.lang.String
getPdbFile()
java.lang.String
getPreferredUILang()
boolean
getUseHostCompilerIfAvailable()
int
getWarningLevel()
java.lang.String
getWarningsAsErrors()
java.lang.String
getWarningsNotAsErrors()
void
setAllowUnsafeBlocks(boolean AllowUnsafeBlocks)
void
setApplicationConfiguration(java.lang.String ApplicationConfiguration)
void
setBaseAddress(java.lang.String BaseAddress)
void
setCheckForOverflowUnderflow(boolean CheckForOverflowUnderflow)
void
setDisabledWarnings(java.lang.String DisabledWarnings)
void
setDocumentationFile(java.lang.String DocumentationFile)
void
setErrorEndLocation(boolean ErrorEndLocation)
void
setErrorReport(java.lang.String ErrorReport)
void
setGenerateFullPaths(boolean GenerateFullPaths)
void
setJCOInstance(org.mases.jcobridge.JCObject instance)
void
setLangVersion(java.lang.String LangVersion)
void
setModuleAssemblyName(java.lang.String ModuleAssemblyName)
void
setNoStandardLib(boolean NoStandardLib)
void
setPdbFile(java.lang.String PdbFile)
void
setPreferredUILang(java.lang.String PreferredUILang)
void
setUseHostCompilerIfAvailable(boolean UseHostCompilerIfAvailable)
void
setWarningLevel(int WarningLevel)
void
setWarningsAsErrors(java.lang.String WarningsAsErrors)
void
setWarningsNotAsErrors(java.lang.String WarningsNotAsErrors)
-
Methods inherited from class microsoft.build.tasks.ManagedCompiler
getAdditionalLibPaths, getAddModules, getCodePage, getDebugType, getDefineConstants, getDelaySign, getEmitDebugInformation, getFileAlignment, getHighEntropyVA, getKeyContainer, getKeyFile, getLinkResources, getMainEntryPoint, getNoConfig, getNoLogo, getNoWin32Manifest, getOptimize, getOutputAssembly, getPlatform, getPrefer32Bit, getReferences, getResources, getResponseFiles, getSources, getSubsystemVersion, getTargetType, getTreatWarningsAsErrors, getUtf8Output, getWin32Icon, getWin32Manifest, getWin32Resource, setAdditionalLibPaths, setAddModules, setCodePage, setDebugType, setDefineConstants, setDelaySign, setEmitDebugInformation, setFileAlignment, setHighEntropyVA, setKeyContainer, setKeyFile, setLinkResources, setMainEntryPoint, setNoConfig, setNoLogo, setNoWin32Manifest, setOptimize, setOutputAssembly, setPlatform, setPrefer32Bit, setReferences, setResources, setResponseFiles, setSources, setSubsystemVersion, setTargetType, setTreatWarningsAsErrors, setUtf8Output, setWin32Icon, setWin32Manifest, setWin32Resource
-
Methods inherited from class microsoft.build.tasks.ToolTaskExtension
getLog
-
Methods inherited from class microsoft.build.utilities.ToolTask
Cancel, Execute, getEchoOff, getEnvironmentVariables, getExitCode, getLogStandardErrorAsError, getStandardErrorImportance, getStandardOutputImportance, getTimeout, getToolExe, getToolPath, getUseCommandProcessor, getYieldDuringToolExecution, setEchoOff, setEnvironmentVariables, setLogStandardErrorAsError, setStandardErrorImportance, setStandardOutputImportance, setTimeout, setToolExe, setToolPath, setUseCommandProcessor, setYieldDuringToolExecution
-
Methods inherited from class microsoft.build.utilities.Task
getBuildEngine, getBuildEngine2, getBuildEngine3, getBuildEngine4, getHostObject, setBuildEngine, setHostObject
-
-
-
-
Field Detail
-
assemblyFullName
public static final java.lang.String assemblyFullName
Fully assembly qualified name: Microsoft.Build.Tasks.v4.0, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a- See Also:
- Constant Field Values
-
assemblyShortName
public static final java.lang.String assemblyShortName
Assembly name: Microsoft.Build.Tasks.v4.0- See Also:
- Constant Field Values
-
className
public static final java.lang.String className
Qualified class name: Microsoft.Build.Tasks.Csc- See Also:
- Constant Field Values
-
classType
public static org.mases.jcobridge.JCType classType
The type managed from JCOBridge. SeeJCType
-
-
Constructor Detail
-
Csc
public Csc(java.lang.Object instance) throws java.lang.Throwable
Internal constructor. Use with caution- Throws:
java.lang.Throwable
-
Csc
public Csc() throws java.lang.Throwable, ArgumentOutOfRangeException, ArgumentNullException, FormatException, ArgumentException, WaitHandleCannotBeOpenedException, FileNotFoundException, DirectoryNotFoundException, UnauthorizedAccessException, IOException, PathTooLongException, DriveNotFoundException, OperationCanceledException
- Throws:
java.lang.Throwable
ArgumentOutOfRangeException
ArgumentNullException
FormatException
ArgumentException
WaitHandleCannotBeOpenedException
FileNotFoundException
DirectoryNotFoundException
UnauthorizedAccessException
IOException
PathTooLongException
DriveNotFoundException
OperationCanceledException
-
-
Method Detail
-
getJCOAssemblyName
public java.lang.String getJCOAssemblyName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Assembly name- Specified by:
getJCOAssemblyName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOAssemblyName
in classManagedCompiler
- Returns:
- A
String
representing the Fullname of reflected Assembly
-
getJCOClassName
public java.lang.String getJCOClassName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name- Specified by:
getJCOClassName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOClassName
in classManagedCompiler
- Returns:
- A
String
representing the Fullname of reflected Class
-
getJCOObjectName
public java.lang.String getJCOObjectName()
Description copied from interface:IJCOBridgeReflected
Returns the reflected Class name used to build the object- Specified by:
getJCOObjectName
in interfaceIJCOBridgeReflected
- Overrides:
getJCOObjectName
in classManagedCompiler
- Returns:
- A
String
representing the name used to allocated the object in CLR context
-
getJCOInstance
public java.lang.Object getJCOInstance()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class- Specified by:
getJCOInstance
in interfaceIJCOBridgeReflected
- Overrides:
getJCOInstance
in classManagedCompiler
- Returns:
- An
Object
representing the CLR instance of the instantiated Class
-
setJCOInstance
public void setJCOInstance(org.mases.jcobridge.JCObject instance)
- Overrides:
setJCOInstance
in classManagedCompiler
-
getJCOType
public org.mases.jcobridge.JCType getJCOType()
Description copied from interface:IJCOBridgeReflected
Returns the instantiated class Type- Specified by:
getJCOType
in interfaceIJCOBridgeReflected
- Overrides:
getJCOType
in classManagedCompiler
- Returns:
- A
JCType
representing the CLR Type of the instantiated Class
-
cast
public static Csc cast(IJCOBridgeReflected from) throws java.lang.Throwable
Try to cast theIJCOBridgeReflected
instance intoCsc
, a cast assert is made to check if types are compatible.- Parameters:
from
-IJCOBridgeReflected
instance to be casted- Returns:
Csc
instance- Throws:
java.lang.Throwable
- in case of error during cast operation
-
getAllowUnsafeBlocks
public boolean getAllowUnsafeBlocks() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setAllowUnsafeBlocks
public void setAllowUnsafeBlocks(boolean AllowUnsafeBlocks) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getCheckForOverflowUnderflow
public boolean getCheckForOverflowUnderflow() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setCheckForOverflowUnderflow
public void setCheckForOverflowUnderflow(boolean CheckForOverflowUnderflow) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getErrorEndLocation
public boolean getErrorEndLocation() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setErrorEndLocation
public void setErrorEndLocation(boolean ErrorEndLocation) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getGenerateFullPaths
public boolean getGenerateFullPaths() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setGenerateFullPaths
public void setGenerateFullPaths(boolean GenerateFullPaths) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getNoStandardLib
public boolean getNoStandardLib() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setNoStandardLib
public void setNoStandardLib(boolean NoStandardLib) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getUseHostCompilerIfAvailable
public boolean getUseHostCompilerIfAvailable() throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
setUseHostCompilerIfAvailable
public void setUseHostCompilerIfAvailable(boolean UseHostCompilerIfAvailable) throws java.lang.Throwable
- Throws:
java.lang.Throwable
-
getWarningLevel
public int getWarningLevel() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setWarningLevel
public void setWarningLevel(int WarningLevel) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getApplicationConfiguration
public java.lang.String getApplicationConfiguration() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setApplicationConfiguration
public void setApplicationConfiguration(java.lang.String ApplicationConfiguration) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getBaseAddress
public java.lang.String getBaseAddress() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setBaseAddress
public void setBaseAddress(java.lang.String BaseAddress) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getDisabledWarnings
public java.lang.String getDisabledWarnings() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setDisabledWarnings
public void setDisabledWarnings(java.lang.String DisabledWarnings) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getDocumentationFile
public java.lang.String getDocumentationFile() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setDocumentationFile
public void setDocumentationFile(java.lang.String DocumentationFile) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getErrorReport
public java.lang.String getErrorReport() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setErrorReport
public void setErrorReport(java.lang.String ErrorReport) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getLangVersion
public java.lang.String getLangVersion() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setLangVersion
public void setLangVersion(java.lang.String LangVersion) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getModuleAssemblyName
public java.lang.String getModuleAssemblyName() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setModuleAssemblyName
public void setModuleAssemblyName(java.lang.String ModuleAssemblyName) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getPdbFile
public java.lang.String getPdbFile() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setPdbFile
public void setPdbFile(java.lang.String PdbFile) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getPreferredUILang
public java.lang.String getPreferredUILang() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setPreferredUILang
public void setPreferredUILang(java.lang.String PreferredUILang) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getWarningsAsErrors
public java.lang.String getWarningsAsErrors() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setWarningsAsErrors
public void setWarningsAsErrors(java.lang.String WarningsAsErrors) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
getWarningsNotAsErrors
public java.lang.String getWarningsNotAsErrors() throws java.lang.Throwable, ArgumentNullException, ObjectDisposedException, AbandonedMutexException
- Throws:
java.lang.Throwable
ArgumentNullException
ObjectDisposedException
AbandonedMutexException
-
setWarningsNotAsErrors
public void setWarningsNotAsErrors(java.lang.String WarningsNotAsErrors) throws java.lang.Throwable, ArgumentNullException, ArgumentException, ArgumentOutOfRangeException, InvalidOperationException, MissingMethodException, TargetInvocationException, FormatException
-
-