Exemplo n.º 1
0
 public virtual void VisitAssembly(AssemblySymbol symbol)
 {
     DefaultVisit(symbol);
 }
Exemplo n.º 2
0
 public virtual TResult VisitAssembly(AssemblySymbol symbol)
 {
     return(DefaultVisit(symbol));
 }
Exemplo n.º 3
0
 /// <summary>
 /// A helper method for ReferenceManager to set the system assembly, which provides primitive
 /// types like Object, String, etc., e.g. mscorlib.dll.
 /// </summary>
 internal void SetCorLibrary(AssemblySymbol corLibrary)
 {
     Debug.Assert((object)_corLibrary == null);
     _corLibrary = corLibrary;
 }
Exemplo n.º 4
0
        internal ErrorTypeSymbol CreateMultipleForwardingErrorTypeSymbol(ref MetadataTypeName emittedName, ModuleSymbol forwardingModule, AssemblySymbol destination1, AssemblySymbol destination2)
        {
            var diagnosticInfo = new LanguageDiagnosticInfo(InternalErrorCode.ERR_TypeForwardedToMultipleAssemblies, forwardingModule, this, emittedName.FullName, destination1, destination2);

            return(new MissingMetadataTypeSymbol.TopLevelWithCustomErrorInfo(forwardingModule, ref emittedName, diagnosticInfo));
        }
Exemplo n.º 5
0
 /// <summary>
 /// Create a NamespaceExtent that represents a given AssemblySymbol.
 /// </summary>
 internal NamespaceExtent(AssemblySymbol assembly)
 {
     _kind = NamespaceKind.Assembly;
     _symbolOrCompilation = assembly;
 }
 internal override bool AreInternalsVisibleToThisAssembly(AssemblySymbol other)
 {
     return(false);
 }
Exemplo n.º 7
0
 /// <summary>
 /// Called when visiting an <see cref="AssemblySymbol" />; Override this method with
 /// specific implementation; Calling default <see cref="DefaultVisit" /> if it's not
 /// overridden
 /// </summary>
 /// <param name="symbol">The visited symbol</param>
 /// <param name="argument">Additional argument</param>
 /// <returns></returns>
 public virtual TResult VisitAssembly(AssemblySymbol symbol, TArgument argument)
 {
     return(DefaultVisit(symbol, argument));
 }