10 [PermissionSet(
SecurityAction.InheritanceDemand, Name =
"FullTrust")]
19 private string pathToAssembly;
21 private int nativeCompilerReturnValue;
45 [Obsolete(
"CAS policy is obsolete and will be removed in a future release of the .NET Framework. Please see http://go2.microsoft.com/fwlink/?LinkId=131738 for more information.")]
54 result = evidence.
Clone();
64 evidence = value.Clone();
80 if (compiledAssembly ==
null && pathToAssembly !=
null)
83 assemblyName.
CodeBase = pathToAssembly;
84 compiledAssembly =
Assembly.
Load(assemblyName, evidence);
86 return compiledAssembly;
91 compiledAssembly = value;
117 return pathToAssembly;
122 pathToAssembly = value;
132 return nativeCompilerReturnValue;
137 nativeCompilerReturnValue = value;
146 this.tempFiles = tempFiles;
Describes a set of security permissions applied to code. This class cannot be inherited.
TempFileCollection TempFiles
Gets or sets the temporary file collection to use.
Represents the results of compilation that are returned from a compiler.
static Assembly Load(string assemblyString)
Loads an assembly given the long form of its name.
Assembly CompiledAssembly
Gets or sets the compiled assembly.
StringCollection Output
Gets the compiler output messages.
Evidence Clone()
Returns a duplicate copy of this evidence object.
Represents a collection of strings.
SecurityAction
Specifies the security actions that can be performed using declarative security.
Represents an assembly, which is a reusable, versionable, and self-describing building block of a com...
Ability to provide evidence, including the ability to alter the evidence provided by the common langu...
string CodeBase
Gets or sets the location of the assembly as a URL.
Describes an assembly's unique identity in full.
CompilerErrorCollection Errors
Gets the collection of compiler errors and warnings.
string PathToAssembly
Gets or sets the path of the compiled assembly.
Defines the set of information that constitutes input to security policy decisions....
int NativeCompilerReturnValue
Gets or sets the compiler's return value.
Specifies that the class can be serialized.
SecurityPermissionFlag
Specifies access flags for the security permission object.
Represents a collection of temporary files.
Represents a collection of T:System.CodeDom.Compiler.CompilerError objects.
CompilerResults(TempFileCollection tempFiles)
Initializes a new instance of the T:System.CodeDom.Compiler.CompilerResults class that uses the speci...