public ReferencedAssembly(TAssemblySymbol symbol, ImmutableArray<string> aliases)
            {
                Debug.Assert(symbol != null && !aliases.IsDefault);

                this.Symbol = symbol;
                this.Aliases = aliases;
            }
            public ReferencedAssembly(TAssemblySymbol symbol, ImmutableArray <string> aliases)
            {
                Debug.Assert(symbol != null && !aliases.IsDefault);

                this.Symbol  = symbol;
                this.Aliases = aliases;
            }
Пример #3
0
            public ReferencedAssembly(TAssemblySymbol symbol, ReadOnlyArray <string> aliases)
            {
                Debug.Assert(symbol != null && aliases.IsNotNull);

                this.Symbol  = symbol;
                this.Aliases = aliases;
            }
Пример #4
0
 /// <summary>
 /// Check if provided AssemblySymbol is created for assembly described by this instance.
 /// This method is expected to return true for every AssemblySymbol returned by
 /// AvailableSymbols property.
 /// </summary>
 /// <param name="assembly">
 /// The AssemblySymbol to check.
 /// </param>
 /// <returns>Boolean.</returns>
 public abstract bool IsMatchingAssembly(TAssemblySymbol assembly);
 /// <summary>
 /// Convenience constructor to initialize fields of this structure.
 /// </summary>
 public AssemblyReferenceCandidate(int definitionIndex, TAssemblySymbol symbol)
 {
     DefinitionIndex = definitionIndex;
     AssemblySymbol  = symbol;
 }
 public override bool IsMatchingAssembly(TAssemblySymbol assembly)
 {
     throw ExceptionUtilities.Unreachable;
 }