CompilationReference Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reference to another C# or VB compilation.
public ref class CompilationReference abstract : Microsoft::CodeAnalysis::MetadataReference, IEquatable<Microsoft::CodeAnalysis::CompilationReference ^>
public abstract class CompilationReference : Microsoft.CodeAnalysis.MetadataReference, IEquatable<Microsoft.CodeAnalysis.CompilationReference>
type CompilationReference = class
inherit MetadataReference
interface IEquatable<CompilationReference>
Public MustInherit Class CompilationReference
Inherits MetadataReference
Implements IEquatable(Of CompilationReference)
- Inheritance
- Implements
Properties
Compilation | |
Display | |
Properties | (Inherited from MetadataReference) |
Methods
Equals(CompilationReference) | |
Equals(Object) | |
GetHashCode() | |
WithAliases(IEnumerable<String>) |
Returns an instance of the reference with specified aliases. |
WithAliases(ImmutableArray<String>) |
Returns an instance of the reference with specified aliases. |
WithEmbedInteropTypes(Boolean) |
Returns an instance of the reference with specified interop types embedding. |
WithProperties(MetadataReferenceProperties) |
Returns an instance of the reference with specified properties, or this instance if properties haven't changed. |
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.