public void ProducesIdenticalCodeToPreprocessedGenericTypeAndMethod() { var assembly = this.GetAssembly(); var preprocessed = assembly.Modules.First().Types.First(x => x.Name == "PreprocessedGenericTypeAndMethod`2"); var postprocessed = assembly.Modules.First().Types.First(x => x.Name == "GenericTypeAndMethod`2"); var utilities = new ProcessorUtilities(); utilities.AssertTypesAreIdentical(preprocessed, postprocessed); }