コード例 #1
0
            public ReferencedAssembly(TAssemblySymbol symbol, ImmutableArray<string> aliases)
            {
                Debug.Assert(symbol != null && !aliases.IsDefault);

                this.Symbol = symbol;
                this.Aliases = aliases;
            }
コード例 #2
0
            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
ファイル: AssemblyData.cs プロジェクト: yonifra/roslyn
 /// <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);
コード例 #5
0
 /// <summary>
 /// Convenience constructor to initialize fields of this structure.
 /// </summary>
 public AssemblyReferenceCandidate(int definitionIndex, TAssemblySymbol symbol)
 {
     DefinitionIndex = definitionIndex;
     AssemblySymbol  = symbol;
 }
コード例 #6
0
 public override bool IsMatchingAssembly(TAssemblySymbol assembly)
 {
     throw ExceptionUtilities.Unreachable;
 }