コード例 #1
0
 public VisualBasicTestOptions AddMetadataReference(MetadataReference metadataReference)
 {
     return(WithMetadataReferences(MetadataReferences.Add(metadataReference)));
 }
コード例 #2
0
 /// <summary>
 /// Adds specified assembly name to the list of assembly names.
 /// </summary>
 /// <param name="metadataReference"></param>
 internal CSharpTestOptions AddMetadataReference(MetadataReference metadataReference)
 {
     return(WithMetadataReferences(MetadataReferences.Add(metadataReference)));
 }
コード例 #3
0
 /// <summary>
 /// Adds the assembly references required to compile the generated code.
 /// </summary>
 /// <param name="references">The assembly references.</param>
 public static void ReferenceHandler(MetadataReferences references)
 {
     references.Add(typeof(System.Dynamic.CallInfo));
     references.Add(typeof(Newtonsoft.Json.JsonToken));
 }
コード例 #4
0
 /// <summary>
 /// Adds the assembly references required to compile the generated code.
 /// </summary>
 /// <param name="references">The assembly references.</param>
 public static void ReferenceHandler(MetadataReferences references)
 {
     references.Add(typeof(System.Dynamic.CallInfo));
     references.Add(typeof(Newtonsoft.Json.JsonToken));
     references.Add(typeof(Couchbase.Linq.BucketContext));
 }