public SymbolMatcher( IReadOnlyDictionary <AnonymousTypeKey, AnonymousTypeValue> anonymousTypeMap, SourceAssemblySymbol sourceAssembly, Context sourceContext, Microsoft.CodeAnalysis.CSharp.Symbols.Metadata.PE.PEAssemblySymbol otherAssembly) { this.defs = new MatchDefsToMetadata(sourceContext, otherAssembly); this.symbols = new MatchSymbols(anonymousTypeMap, sourceAssembly, otherAssembly, this.defs); }
public CSharpSymbolMatcher( IReadOnlyDictionary<AnonymousTypeKey, AnonymousTypeValue> anonymousTypeMap, SourceAssemblySymbol sourceAssembly, EmitContext sourceContext, PEAssemblySymbol otherAssembly) { this.defs = new MatchDefsToMetadata(sourceContext, otherAssembly); this.symbols = new MatchSymbols(anonymousTypeMap, sourceAssembly, otherAssembly); }
public SymbolMatcher( IReadOnlyDictionary <AnonymousTypeKey, AnonymousTypeValue> anonymousTypeMap, SourceAssemblySymbol sourceAssembly, Context sourceContext, SourceAssemblySymbol otherAssembly, Context otherContext) { this.defs = new MatchDefsToSource(sourceContext, otherContext); this.symbols = new MatchSymbols(anonymousTypeMap, sourceAssembly, otherAssembly, this.defs); }
public CSharpSymbolMatcher( IReadOnlyDictionary <AnonymousTypeKey, AnonymousTypeValue> anonymousTypeMap, SourceAssemblySymbol sourceAssembly, EmitContext sourceContext, SourceAssemblySymbol otherAssembly, EmitContext otherContext, ImmutableDictionary <Cci.ITypeDefinition, ImmutableArray <Cci.ITypeDefinitionMember> > otherSynthesizedMembersOpt) { _defs = new MatchDefsToSource(sourceContext, otherContext); _symbols = new MatchSymbols(anonymousTypeMap, sourceAssembly, otherAssembly, otherSynthesizedMembersOpt, new DeepTranslator(otherAssembly.GetSpecialType(SpecialType.System_Object))); }
public CSharpSymbolMatcher( IReadOnlyDictionary <AnonymousTypeKey, AnonymousTypeValue> anonymousTypeMap, SourceAssemblySymbol sourceAssembly, EmitContext sourceContext, SourceAssemblySymbol otherAssembly, EmitContext otherContext, ImmutableDictionary <Cci.ITypeDefinition, ImmutableArray <Cci.ITypeDefinitionMember> > otherSynthesizedMembersOpt) { this.defs = new MatchDefsToSource(sourceContext, otherContext); this.symbols = new MatchSymbols(anonymousTypeMap, sourceAssembly, otherAssembly, otherSynthesizedMembersOpt); }
public CSharpSymbolMatcher( IReadOnlyDictionary <AnonymousTypeKey, AnonymousTypeValue> anonymousTypeMap, SourceAssemblySymbol sourceAssembly, EmitContext sourceContext, PEAssemblySymbol otherAssembly) { _defs = new MatchDefsToMetadata(sourceContext, otherAssembly); _symbols = new MatchSymbols( anonymousTypeMap, sourceAssembly, otherAssembly, otherSynthesizedMembersOpt: null); }
public CSharpSymbolMatcher( IReadOnlyDictionary <AnonymousTypeKey, AnonymousTypeValue> anonymousTypeMap, IReadOnlyDictionary <SynthesizedDelegateKey, SynthesizedDelegateValue> synthesizedDelegates, SourceAssemblySymbol sourceAssembly, EmitContext sourceContext, PEAssemblySymbol otherAssembly) { _defs = new MatchDefsToMetadata(sourceContext, otherAssembly); _symbols = new MatchSymbols( anonymousTypeMap, synthesizedDelegates, sourceAssembly, otherAssembly, otherSynthesizedMembers: null, deepTranslator: null); }
public SymbolComparer(MatchSymbols matcher, DeepTranslator deepTranslatorOpt) { Debug.Assert(matcher != null); _matcher = matcher; _deepTranslatorOpt = deepTranslatorOpt; }
public SymbolComparer(MatchSymbols matcher) { _matcher = matcher; }
public SymbolComparer(MatchSymbols matcher) { this.matcher = matcher; }